package br.com.amadeus.android.activities.home;

import java.io.File;

import br.com.amadeus.android.business.FacadeAmadeusDroid;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Environment;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageButton;

public class FirstInnerActivity extends Activity{
	 /** Called when the activity is first created. */
	protected static final String CATEGORIA = "curso";
			
    @Override
    public void onCreate(Bundle savedInstanceState) {
    	/*TODO colocar um verificador aqui, ele deve verificar se o usuário já 
    	acoplou o seu amadeus-droid a uma instância válida do amadeus*/
        super.onCreate(savedInstanceState);
        setContentView(R.layout.amadeus_screen_1);
        //video libras
        ImageButton librasBt = (ImageButton)findViewById(R.id.botaoLibras1);
        librasBt.setOnClickListener(new OnClickListener() {
			
			public void onClick(View arg0) {
				Intent it = new Intent("ABRIR_LIBRAS");
				it.putExtra("video_libras", "FirstInner.wmv");
				startActivity(it);
				
			}
		});
        final Button button = (Button) findViewById(R.id.avancar);
        button.setOnClickListener(new OnClickListener() {
			
			public void onClick(View arg0) {
				Intent it = new Intent("FIRST_SYNC");
				startActivity(it);
				
			}
		});
        
    }
        
	/*public void onClick(View v) {
		Intent it = new Intent("FIRST_SYNC");
		startActivity(it);
	}*/

}
